﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>

<%@ Import Namespace="iArtis.Extensions" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Logistics
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <script src="<%= Html.AppPath() %>/Scripts/jquery.timers-1.1.2.js" type="text/javascript"></script>

    <script src="<%= Html.AppPath() %>/Scripts/jquery.easing.1.3.js" type="text/javascript"></script>

    <script src="<%= Html.AppPath() %>/Scripts/jquery.galleryview-1.1.js" type="text/javascript"></script>

    <script type="text/javascript" language="javascript">
        $(document).ready(function() {
            $('#photos').galleryView({
                panel_width: 635,
                panel_height: 400,
                frame_width: 50,
                frame_height: 40,
                transition_speed: 500,
                background_color: '#222',
                border: 'none',
                easing: 'easeInOutBack',
                pause_on_hover: true,
                nav_theme: 'custom',
                overlay_height: 52,
                filmstrip_position: 'top',
                overlay_position: 'top'
            });
        });
    </script>

    <table name="capabality" class="portfolio">
        <tr>
            <td colspan="2">
                <h3>
                    <strong>Logistics</strong>
                </h3>
            </td>
        </tr>
        <tr>
            <td colspan="2" class="desc">
                <h4>
                    <strong>
                        <% if (Html.CurrentLanguageCode() == "ru")
                           { %>
                        Приложение предназначено для решения задач логистики (оптимальных перевозок) для
                        экспертов. Различные методы расчётов, дополнительные параметры, универсальная визуализация.
                        Приложение предназначено первым делом для экспертов, т.к. простым людям оно не понадобится.
                        <br />
                        Приложение обфуцировано, поэтому исходный код получить не удасться =)
                        <% }
                           else
                           { %>
                        The application is intended for logistics problem solving (optimal transportations)
                        for experts. Various methods of calculations, additional parametres, universal visualisation.
                        The application is intended first of all for experts since it is not required to
                        simple people.
                        <br />
                        It will not be possible to receive obfuscate application, therefore an initial code
                        =)
                        <% } %>
                    </strong>
                </h4>
            </td>
        </tr>
        <tr>
            <td class="price">
                <h4>
                    <strong>
                        <%= Html.Resource("Services, Price")%>: 50
                        <%= Html.Resource("Services, Currency")%></strong></h4>
            </td>
            <td class="time">
                <h4>
                    <strong>
                        <%= Html.Resource("Services, PerformancePeriod")%>: 5
                        <%= Html.Resource("Services, Days")%></strong></h4>
            </td>
        </tr>
        <tr>
            <td colspan="2" class="link">
                <h4>
                    <%= Html.Resource("Services, Link")%>: <a href="<%= Html.AppPath() + "/Files/Logistics.zip" %>">
                        <%= Html.Resource("Services, Download") %></a>
                </h4>
            </td>
        </tr>
        <tr>
            <td colspan="2" style="height: 500px">
                <div id="gallery" style="height: 430px">
                    <div id="photos">
                        <% var dir = new System.IO.DirectoryInfo(AppDomain.CurrentDomain.BaseDirectory + "Content\\images\\portfolio\\Logistics");
                           try
                           {
                               foreach (var image in dir.GetFiles())
                               {
                                   string path = Html.AppPath() + "/Content/images/portfolio/Logistics/" + image.Name;%>
                        <div class="panel" style="text-align: center">
                            <img src="<%= path %>" alt="image" width="500" height="400" />
                        </div>
                        <% } %>
                        <ul class="filmstrip">
                            <% foreach (var image in dir.GetFiles())
                               {
                                   string path = Html.AppPath() + "/Content/images/portfolio/Logistics/" + image.Name;%>
                            <li>
                                <img src="<%= path %>" height="40px" width="50px" alt="thumb" />
                            </li>
                            <% } %>
                        </ul>
                        <% }
                           catch { } %>
                    </div>
                </div>
            </td>
        </tr>
    </table>
</asp:Content>
